﻿<Window x:Class="ThemeMatic.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Views="clr-namespace:ThemeMatic.Views" Title="theMatic" Height="600" Width="800" Icon="thematic_titlebar.ico">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="80" />
            <RowDefinition />
            <RowDefinition Height="40" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="5" />
            <ColumnDefinition />
            <ColumnDefinition Width="5" />

        </Grid.ColumnDefinitions>

        <StackPanel Orientation="Horizontal" Grid.Column="1" VerticalAlignment="Center" >
            <Image Source="Resources/thematic_logo.png" />
            <TextBlock Text="theme generator for WPF &amp; Silverlight" Margin="20,0,0,0" VerticalAlignment="Center" Foreground="Gray" FontSize="20" FontWeight="100" />
        </StackPanel>

        <TabControl Grid.Row="1" Grid.Column="1">

            <TabItem Header="Colors">
                <Views:ColorSelectionView DataContext="{Binding ColorSelectionViewModel}" />
            </TabItem>

            <TabItem Header="Design">
                <Views:ThemeView DataContext="{Binding ThemeViewModel}" />
            </TabItem>

            <TabItem Header="Typography" >
                <TextBlock Text="Coming soon" />
            </TabItem>

            <TabItem Header="Properties" >
                <Views:PropertiesView DataContext="{Binding PropertiesViewModel}"  />
            </TabItem>

        </TabControl>
        <StackPanel Orientation="Horizontal" Grid.Column="1" Grid.Row="2" HorizontalAlignment="Right" VerticalAlignment="Stretch">
            <Button Command="{Binding GenerateCommand}"  Width="100" Margin="5,5,0,5" Content="Generate"/>
        </StackPanel>







    </Grid>
</Window>
